package com.chaopei.cxjw.service.impl;

import com.chaopei.cxjw.entity.Student;
import com.chaopei.cxjw.mapper.StudentMapper;
import com.chaopei.cxjw.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StudentServiceImpl implements StudentService {
    @Resource
    StudentMapper studentMapper;
    @Override
    public Student[] selectAllStudent() {
        return studentMapper.selectAllStudent();
    }
}
